﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Smartmanufacturing.DTO.ProductManagement;


namespace VOL.Smartmanufacturing.IServices.ProductManagement
{
    public interface IMaintenanceServices
    {
        Task<int> AddMaintenance(Entity.DomainModels.Maintenance maintenance);
        Task<int>UpdateMaintenance(Entity.DomainModels.Maintenance maintenance);
        Task<int> DelMaintenance(string ids);
        Task<Entity.DomainModels.Maintenance> GetMaintenanceById (int maintenanceId);
        Task<ApiPaging<Entity.DomainModels.Maintenance>> GetAllMaintenance(MaintenanceDTO maintenanceDTO);
        Task<List<Entity.DomainModels.TicketsLedger>> GetAllTicketsLedger();
    }
}
